package cn.com.headfree;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@EnableTransactionManagement
@ServletComponentScan
@EnableDiscoveryClient
@EnableScheduling
@EnableFeignClients(basePackages={"cn.com.headfree","com.gta.edu"})
@ComponentScan({"cn.com.headfree","com.gta.edu.sdk"})
public class DictionaryApp {

    public static void main(String[] args) {
        SpringApplication.run(DictionaryApp.class, args);
    }

}
